<div id="userBaseManage">
    <fieldset>
        <legend>查询</legend>

        <!-- <label>身份证号码</label> -->
        <div attr-class="input-control text {{Mutual.searchResponse}}" data-role="input-control">
            <input type="text" event-input="{{'Mutual.searchInput'}}" bind-form="{{'session.search'}}" attr-value="{{session.search}}" placeholder="请输入18位身份证号码进行查询">
            <button title="查询" class="btn-search" event-click="{{'Event.search'}}" type="button"></button>
        </div>
        {{#if session.searchResult}}
        <div>
            <h2>查询结果</h2>
            <div class="success">
                <fix:table class="table striped">
                    <fix:thead>
                        <fix:tr>
                            <fix:td>身份证号码</fix:td>
                            <fix:td>姓名</fix:td>
                            <fix:td>性别</fix:td>
                            <fix:td>电话号码</fix:td>
                            <fix:td>出事年月日</fix:td>
                            <fix:td>户籍地址</fix:td>
                            <fix:td>邮政编码</fix:td>
                            <fix:td>电子邮箱</fix:td>
                            <fix:td>社交网络信息</fix:td>
                            <fix:td>备注</fix:td>
                        </fix:tr>
                    </fix:thead>
                    <fix:tbody>
                        {{#each session.searchResult}}
                        <fix:tr>
                            <fix:td>{{ubId}}</fix:td>
                            <fix:td>{{ubName}}</fix:td>
                            <fix:td>{{ubSex}}</fix:td>
                            <fix:td>{{ubTel}}</fix:td>
                            <fix:td>{{ubBirthDay}}</fix:td>
                            <fix:td>{{ubAddress}}</fix:td>
                            <fix:td>{{ubZip}}</fix:td>
                            <fix:td>{{ubEmail}}</fix:td>
                            <fix:td>{{ubSns}}</fix:td>
                            <fix:td>{{ubRemark}}</fix:td>
                        </fix:tr>
                        {{/each}}
                    </fix:tbody>
                </fix:table>
            </div>
        </div>
        {{/if}}
    </fieldset>
</div>
